export interface SubMenuItem {
  title: string;
  path: string;
}

export interface MenuItem {
  title: string;
  children: SubMenuItem[];
}

export const menuList: MenuItem[] = [
  {
    title: '安全管理',
    children: [
      { title: '隐患管理', path: '/main/danger' },
      { title: '安全巡查', path: '/main/patrol' },
      { title: '护导管理', path: '/main/guard' },
    ]
  },
  {
    title: '考勤管理',
    children: [
      { title: '学生考勤', path: '/main/attendance/manage' },
      { title: '教师考勤', path: '/main/teacher-attendance' }
    ]
  },
  {
    title: '学生管理',
    children: [
      { title: '学生管理', path: '/main/student' },
    ]
  },
  {
    title: '教职工管理',
    children: [
      { title: '职工管理', path: '/main/staff'},
      { title: '教师管理', path: '/main/teacher'},
      { title: '班主任管理', path: '/main/headteacher'},
      { title: '班级管理', path: '/main/class' },
      { title: '保安管理', path: '/main/security' }
    ]
  },
  {
    title: '权限管理',
    children: [
      { title: '部门管理', path: '/main/department' },
      { title: '角色管理', path: '/main/role-manage' },
      { title: '账号管理', path: '/main/account' }
    ]
  },
  {
    title: '考试管理',
    children: [
      { title: '考试管理', path: '/main/exam' },
      { title: '成绩列表', path: '/main/grade' },
      { title: '成绩分析', path: '/main/grade/analysis' },
      { title: '考试回放', path: '/main/exam/replay' },
    ]
  }
];
